/**
 * Copyright 2022 Google LLC
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *      http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */
body {
  font-family: "Roboto", sans-serif;
  padding: 0;
  margin: 0;
  width: 100vw;
}
h1 {
  font-weight: normal;
}

h2 {
  font-weight: normal;
}
pre {
  overflow-x: auto;
  overflow-y: hidden;
  padding: 1ch;
}

:not(pre) > code {
  padding: 0.2em 0.4em;
  margin: 0;
  white-space: break-spaces;
  background-color: rgba(175,184,193,0.2);
  border-radius: 6px;
}

code {
  font-family: "Roboto Mono", monospace;
  font-size: 0.8em;
}

/* Limit the page content width to keep lines readable. */
.page {
  max-width: 65rem;
  margin-left: auto;
  margin-right: auto;
  padding-left: 1rem;
  padding-right: 1rem;
}

.page p, .page li {
  line-height: 1.5;
}

header {
  display: flex;
  justify-content: space-between;
  align-content: center;
  flex-grow: grow;
  padding-top: 1ch;
  padding-bottom: 1ch;
  padding-left: 2ch;
  padding-right: 2ch;
  max-width: 80em;
  margin-left: auto;
  margin-right: auto;
}
header .logo {
  font-size: 1.5em;
}
header .active {
  color: black;
  border-bottom: 2pt solid red;
}
header a {
  text-decoration: none;
  color: black;
  padding: 0.5ch;
}
header .navlink {
  color: #363434;
}
header .navlink:hover:not(.active) {
  color: black;
  border-bottom: 2pt solid gray;
}
header .news {
  color: red;
}
header .news:hover:not(.active) {
  color: red;
  border-bottom: 2pt solid gray;
}
header .workshops {
  color: #363434;
}
header .workshops:hover:not(.active) {
  color:  black;
  border-bottom: 2pt solid gray;
}

header ul {
  list-style-type: none;
  display: inline-block;
  font-size: 1.1em;
  margin: 0;
  padding: 0;
}
header li {
  display: inline-block;
  margin-left: 1ch;
  padding-top: 0.5ch;
  padding-bottom: 0.5ch;
}

.icon img {
  width: 1.5em;
  height: 1.5em;
}

.todo {
  font-weight: bold;
  color: red;
}

footer {
  height: 3.5rem;
  margin: 2rem 0;
}
